using Serilog;

namespace BraveryLand
{
    internal static class Program
    {
        /// <summary>
        ///  The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Log.Logger = new LoggerConfiguration()
                .WriteTo.Console()
                .WriteTo.File("log.txt")
                .CreateLogger();

            ApplicationConfiguration.Initialize();
            Application.Run(new MianForm());

            Log.CloseAndFlush();
        }
    }
}